﻿#include <iostream>

using namespace std;

int main() {
	int n;
	cout << "倒数\n";


	do {
		cout << "正整数值：";
		cin >> n;
	} while (n <= 0);

	while (n >= 0) {
		cout << n-- << endl;
	}

	cin.get();
	cin.get();
}